<?php
Route::group(['prefix' => 'admin', 'namespace' => 'Admin'], function () {
    Route::get('/login', 'LoginController@login');
    Route::get('/logout', 'LoginController@logout');
    Route::post('/login', 'LoginController@loginPost');
    Route::get('/index', 'LoginController@index');
    Route::resource('/test','TestController');
});
